<div>
    <hr>
    <ul class="breadcrumb">
        <li>
            <a href="<?php echo Yii::app()->createUrl('site/index'); ?>">Trang chủ</a> <span class="divider">/</span>
        </li>
        <li>
            <a href="#">Chỉnh sửa sự kiện</a>
        </li>
    </ul>
    <hr>
</div>
<div class="row-fluid sortable">
    <div class="box span12">
        <div class="box-header" data-original-title>
            <h2><i class="icon-user"></i><span class="break"></span>Chỉnh sửa thông tin sự kiện</h2>
            <div class="box-icon">
                <a href="#" class="btn-setting"><i class="icon-wrench"></i></a>
                <a href="#" class="btn-minimize"><i class="icon-chevron-up"></i></a>
                <a href="#" class="btn-close"><i class="icon-remove"></i></a>
            </div>
        </div>
        <div class="box-content">
            <form class="form-horizontal" method="post" action="<?php echo Yii::app()->createUrl('event/update',array('id' => $model['id'])); ?>">
                <fieldset>
                    <div class="control-group">
                        <label class="control-label" for="date01">Tên sự kiện</label>
                        <div class="controls">
                            <input required type="text" class="input-xlarge" name="Event[title]" value="<?php echo $model['title']; ?>">
                        </div>
                    </div>
                    <div class="control-group">
                        <label class="control-label" for="date01">Thời gian</label>
                        <div class="controls">
                            <div class="input-append date">
                                <input required id="datetimepicker" data-date-format="hh:ii dd/mm/yyyy" type="text" name="Event[datetime]" value="<?php echo $model['datetime']; ?>"></input>
                          </div>
                        </div>
                    </div>
                    <div class="control-group">
                        <label class="control-label" for="date01">Địa điểm</label>
                        <div class="controls">
                            <input required type="text" class="input-xlarge" name="Event[place]" value="<?php echo $model['place']; ?>">
                        </div>
                    </div>
                    <div class="control-group">
                        <label class="control-label" for="date01">Nội dung</label>
                        <div class="controls">
                            <textarea required rows="10" cols="50" name="Event[description]"><?php echo $model['description']; ?></textarea>
                        </div>
                    </div>
                    <div class="form-actions">
                        <button type="submit" class="btn btn-primary">Cập nhật</button>
                        <button type="reset" class="btn">Hủy bỏ</button>
                    </div>
                </fieldset>
            </form>

        </div>
    </div><!--/span-->
    <script type="text/javascript">
        $('#datetimepicker').datetimepicker({
            autoclose: true,
        });
    </script>